import './App.css';
import routes from './router/index'
import {HashRouter, BrowserRouter} from 'react-router-dom'
import {renderRoutes } from 'react-router-config'
import React from "react";

function App() {
  return (
    <div className="App">
        {/*<BrowserRouter>*/}
        {/*</BrowserRouter>*/}
        <HashRouter>
            {/*展示路由*/}
            {renderRoutes(routes)}
        </HashRouter>
    </div>
  );
}

export default App;
